package com.qianying.exception;

import com.qianying.comment.CommonResult;

public class MyServiceException extends RuntimeException {
    private CommonResult result;

    public MyServiceException(CommonResult result) {
        super(result.getMessage());
        this.result=result;
    }

    public CommonResult getResult() {
        return result;
    }
}
